package com.yfqy.admin.domain.dto.revenue;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class RevenueRecordQuery {

    /**
     * 交易日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recordTime;

    /**
     * 1:初诊，2：复诊
     */
    private Byte theFirst;

    /**
     * 治疗师
     */
    private String therapist;

    /**
     * 顾客姓名
     */
    private String customerName;

    /**
     * 体验，单次，年卡
     */
    private String project;

    /**
     * 入库时间-begin
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTimeBegin;
    /**
     * 入库时间-end
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTimeEnd;

    private Integer pageIndex = 1;

    private Integer pageSize = 10;

}
